package com.kerrykidz.membership.dao.mapper;

import java.util.Date;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.kerrykidz.membership.dao.model.CusCouponEntity;
import com.rdp.framework.core.dao.mapper.MyBatisSuperMapper;
import com.rdp.framework.exception.RDPException;


@Repository
public interface CusCouponEntityMapper extends MyBatisSuperMapper<CusCouponEntity> {
	/**
	 * 根据会员编号修改玩伴券
	 * @param fkMemId:会员Id
	 * @return
	 */
	public void updateCouponBymemId(@Param("fkMemId") String fkMemId, @Param("validFrom") Date validFrom, @Param("validTo") Date validTo) throws RDPException;
}